import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/component/navigation.d.ts',
  content: "/*\n * Copyright (c) 2021-2024 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ArkUI\n */\n/**\n * Import the SystemBarStyle type for Navigation.\n *\n * @typedef { import('../api/@ohos.window').default.SystemBarStyle } SystemBarStyle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\ndeclare type SystemBarStyle = import('../api/@ohos.window').default.SystemBarStyle;\n/**\n * Defines the navigation common title.\n *\n * @interface NavigationCommonTitle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 9\n */\n/**\n * Defines the navigation common title.\n *\n * @interface NavigationCommonTitle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the navigation common title.\n *\n * @interface NavigationCommonTitle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface NavigationCommonTitle {\n    /**\n     * Sets the main title.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Sets the main title.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the main title.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Sets the main title.\n     *\n     * @type { string | Resource }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    main: string | Resource;\n    /**\n     * Sets the sub title.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Sets the sub title.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the sub title.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Sets the sub title.\n     *\n     * @type { string | Resource }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    sub: string | Resource;\n}\n/**\n * Defines the navigation custom title.\n *\n * @interface NavigationCustomTitle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 9\n */\n/**\n * Defines the navigation custom title.\n *\n * @interface NavigationCustomTitle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the navigation custom title.\n *\n * @interface NavigationCustomTitle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface NavigationCustomTitle {\n    /**\n     * Custom content of the title bar.\n     *\n     * @type { CustomBuilder }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Custom content of the title bar.\n     *\n     * @type { CustomBuilder }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Custom content of the title bar.\n     *\n     * @type { CustomBuilder }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    builder: CustomBuilder;\n    /**\n     * Height of the title bar.\n     *\n     * @type { TitleHeight | Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Height of the title bar.\n     *\n     * @type { TitleHeight | Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Height of the title bar.\n     *\n     * @type { TitleHeight | Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    height: TitleHeight | Length;\n}\n/**\n * Navigation mode\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 9\n */\n/**\n * Navigation mode\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Navigation mode\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare enum NavigationMode {\n    /**\n     * The navigation bar and the content area are displayed in stack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * The navigation bar and the content area are displayed in stack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The navigation bar and the content area are displayed in stack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Stack,\n    /**\n     * The navigation bar and the content area are displayed side by side.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * The navigation bar and the content area are displayed side by side.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The navigation bar and the content area are displayed side by side.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Split,\n    /**\n     * If the window width is greater than 520vp, the navigation component is displayed in split mode.\n     * Otherwise it's displayed in stack mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * If the window width is greater than the sum of minNavBarWidth and minContentWidth, the navigation component is displayed in split mode.\n     * Otherwise it's displayed in stack mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * If the window width is greater than the sum of minNavBarWidth and minContentWidth, the navigation component is displayed in split mode.\n     * Otherwise it's displayed in stack mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Auto\n}\n/**\n * Navigation bar position\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 9\n */\n/**\n * Navigation bar position\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Navigation bar position\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare enum NavBarPosition {\n    /**\n     * In navigation split mode, the main column is at the start of the main axis.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * In navigation split mode, the main column is at the start of the main axis.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * In navigation split mode, the main column is at the start of the main axis.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Start,\n    /**\n     * The navigation bar is on the End of the container\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * The navigation bar is on the End of the container\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The navigation bar is on the End of the container\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    End\n}\n/**\n * Navigation title mode.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 8\n */\n/**\n * Navigation title mode.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Navigation title mode.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare enum NavigationTitleMode {\n    /**\n     * When the content is more than one screen in a scrollable component, the\n     * main title shrinks as the content scrolls down (the subtitle fades out\n     * with its size remaining unchanged) and restores as the content scrolls\n     * up to the top.\n     * <br>**NOTE**\n     * <br>The effect where the main title's size changes in response to content\n     * scrolling is effective only when **title** is set to **ResourceStr** or\n     * **NavigationCommonTitle**. If **title** is set to any other value type, the\n     * main title changes in mere location when pulled down.\n     * <br>For this effect to work when the content is less than one screen in a\n     * scrollable component, set the **options** parameter of the scrollable\n     * component's edgeEffect attribute to **true**. In the non-scrolling state, the\n     * height of the title bar is the same as in **Full** mode; in the scrolling state,\n     * the minimum height of the title bar is the same as in **Mini** mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * When the content is more than one screen in a scrollable component, the\n     * main title shrinks as the content scrolls down (the subtitle fades out\n     * with its size remaining unchanged) and restores as the content scrolls\n     * up to the top.\n     * <br>**NOTE**\n     * <br>The effect where the main title's size changes in response to content\n     * scrolling is effective only when **title** is set to **ResourceStr** or\n     * **NavigationCommonTitle**. If **title** is set to any other value type, the\n     * main title changes in mere location when pulled down.\n     * <br>For this effect to work when the content is less than one screen in a\n     * scrollable component, set the **options** parameter of the scrollable\n     * component's edgeEffect attribute to **true**. In the non-scrolling state, the\n     * height of the title bar is the same as in **Full** mode; in the scrolling state,\n     * the minimum height of the title bar is the same as in **Mini** mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * When the content is more than one screen in a scrollable component, the\n     * main title shrinks as the content scrolls down (the subtitle fades out\n     * with its size remaining unchanged) and restores as the content scrolls\n     * up to the top.\n     * <br>**NOTE**\n     * <br>The effect where the main title's size changes in response to content\n     * scrolling is effective only when **title** is set to **ResourceStr** or\n     * **NavigationCommonTitle**. If **title** is set to any other value type, the\n     * main title changes in mere location when pulled down.\n     * <br>For this effect to work when the content is less than one screen in a\n     * scrollable component, set the **options** parameter of the scrollable\n     * component's edgeEffect attribute to **true**. In the non-scrolling state, the\n     * height of the title bar is the same as in **Full** mode; in the scrolling state,\n     * the minimum height of the title bar is the same as in **Mini** mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Free = 0,\n    /**\n     * The title is fixed at full mode.<br>Default value: If there is only a main\n     * title, the title bar height is 112 vp; if there is both a main title and a\n     * subtitle, the title bar height is 138 vp.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * The title is fixed at full mode.<br>Default value: If there is only a main\n     * title, the title bar height is 112 vp; if there is both a main title and a\n     * subtitle, the title bar height is 138 vp.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The title is fixed at full mode.<br>Default value: If there is only a main\n     * title, the title bar height is 112 vp; if there is both a main title and a\n     * subtitle, the title bar height is 138 vp.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Full,\n    /**\n     * The title is fixed at mini mode.\n     * Default value:if there is only a main title, The title bar height is 56 vp.\n     * If there are both a main title and a subtitle, the title bar height is 82 vp.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * The title is fixed at mini mode. Default value: In versions earlier than API version 12,\n     * If there is only a main title, the title bar height is 56 vp; if there are both a main title and a subtitle,\n     * The title bar height is 82 vp. Since API version 12, the title bar height is 56 vp.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The title is fixed at mini mode. Default value: In versions earlier than API version 12,\n     * If there is only a main title, the title bar height is 56 vp; if there are both a main title and a subtitle,\n     * The title bar height is 82 vp. Since API version 12, the title bar height is 56 vp.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    Mini\n}\n/**\n * Navigation menu item, include menu icon and menu info\n *\n * @interface NavigationMenuItem\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 8\n */\n/**\n * Navigation menu item, include menu icon and menu info\n *\n * @interface NavigationMenuItem\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Navigation menu item, include menu icon and menu info\n *\n * @interface NavigationMenuItem\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface NavigationMenuItem {\n    /**\n     * The value of navigation menu item.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * The value of navigation menu item.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The value of navigation menu item.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * The value of navigation menu item.\n     *\n     * @type { string | Resource }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    value: string | Resource;\n    /**\n     * The icon of navigation menu item.\n     *\n     * @type { ?string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * The icon of navigation menu item.\n     *\n     * @type { ?string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The icon of navigation menu item.\n     *\n     * @type { ?string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * The icon of navigation menu item.\n     *\n     * @type { ?(string | Resource) }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    icon?: string | Resource;\n    /**\n     * The symbol of navigation menu item.\n     *\n     * @type { ?SymbolGlyphModifier }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    symbolIcon?: SymbolGlyphModifier;\n    /**\n     * Whether to enable this menu item.\n     *\n     * @type { ?boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    isEnabled?: boolean;\n    /**\n     * Trigger by navigation menu item click.\n     *\n     * @type { ?(() => void) }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Trigger by navigation menu item click.\n     *\n     * @type { ?function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Trigger by navigation menu item click.\n     *\n     * @type { ?function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    action?: () => void;\n}\n/**\n * Indicates the information of the popped page.\n *\n * @interface PopInfo\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 11\n */\n/**\n * Indicates the information of the popped page.\n *\n * @interface PopInfo\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface PopInfo {\n    /**\n     * The info of the popped page.\n     *\n     * @type { NavPathInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * The info of the popped page.\n     *\n     * @type { NavPathInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    info: NavPathInfo;\n    /**\n     * The result of the popped page.\n     *\n     * @type { Object }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * The result of the popped page.\n     *\n     * @type { Object }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    result: Object;\n}\n/**\n * Indicates the information of NavDestination.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Indicates the information of NavDestination.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class NavPathInfo {\n    /**\n     * Creates an instance of NavPathInfo.\n     *\n     * @param { string } name - The name of NavDestination.\n     * @param { unknown } param - The detailed parameter of the NavDestination.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Creates an instance of NavPathInfo.\n     *\n     * @param { string } name - The name of NavDestination.\n     * @param { unknown } param - The detailed parameter of the NavDestination.\n     * @param { ?import('../api/@ohos.base').Callback<PopInfo> } onPop - The callback when next page returns.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Creates an instance of NavPathInfo.\n     *\n     * @param { string } name - The name of NavDestination.\n     * @param { unknown } param - The detailed parameter of the NavDestination.\n     * @param { ?import('../api/@ohos.base').Callback<PopInfo> } onPop - The callback when next page returns.\n     * @param { ?boolean } isEntry - Indicates whether it is an entry destination.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    constructor(name: string, param: unknown, onPop?: import('../api/@ohos.base').Callback<PopInfo>, isEntry?: boolean);\n    /**\n     * Name of the navigation destination page.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Name of the navigation destination page.\n     *\n     * @type { string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    name: string;\n    /**\n     * Detailed parameters of the navigation destination page.\n     *\n     * @type { ?unknown }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Detailed parameters of the navigation destination page.\n     *\n     * @type { ?unknown }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    param?: unknown;\n    /**\n     * Callback returned when pop is called on the navigation destination page.\n     * It is invoked only after the **result** parameter is set in pop.\n     *\n     * @type { ?import('../api/@ohos.base').Callback<PopInfo> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Callback returned when pop is called on the navigation destination page.\n     * It is invoked only after the **result** parameter is set in pop.\n     *\n     * @type { ?import('../api/@ohos.base').Callback<PopInfo> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onPop?: import('../api/@ohos.base').Callback<PopInfo>;\n    /**\n     * Indicates whether it is an entry destination.\n     *\n     * @type { ?boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    isEntry?: boolean;\n    /**\n     * The unique id of NavDestination.\n     *\n     * @type { ?string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    navDestinationId?: string;\n}\n/**\n * Defines the mode of stack operation.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare enum LaunchMode {\n    /**\n     * Default navigation stack operation mode.<br>In this mode,\n     * push operations add the specified **NavDestination**page to\n     * the stack; replace operations replace the current top **NavDestination** page.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    STANDARD = 0,\n    /**\n     * When the NavDestination with a specified name exists, it will be moved to top of stack,\n     * otherwise, the behavior will be consistent with the STANDARD mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    MOVE_TO_TOP_SINGLETON = 1,\n    /**\n     * When the NavDestination with a specified name exists, the stack will pop until that NavDestination,\n     * otherwise, the behavior will be consistent with the STANDARD mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    POP_TO_SINGLETON = 2,\n    /**\n     * This mode creates an instance of **NavDestination**. Compared with\n     * **STANDARD**, this mode does not reuse the instance with the same name in the stack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    NEW_INSTANCE = 3\n}\n/**\n * Indicates the options of stack operation.\n *\n * @interface NavigationOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface NavigationOptions {\n    /**\n     * Navigation stack operation mode.\n     * <br>Default value: **LaunchMode.STANDARD**.\n     *\n     * @type { ?LaunchMode }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    launchMode?: LaunchMode;\n    /**\n     * Whether to support transition animation.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.\n     * <br>**false**: The transition animation is not supported.\n     *\n     * @type { ?boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    animated?: boolean;\n}\n/**\n * Indicates the information of NavDestinations. Providers methods for controlling destination page in the stack\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Indicates the information of NavDestinations. Providers methods for controlling destination page in the stack\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class NavPathStack {\n    /**\n     * Creates an instance of NavPathStack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Creates an instance of NavPathStack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    constructor();\n    /**\n     * Pushes the navigation destination page specified by **info** onto the navigation stack.\n     *\n     * @param { NavPathInfo } info - Indicates the NavDestination to be pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Pushes the navigation destination page specified by **info** onto the navigation stack.\n     *\n     * @param { NavPathInfo } info - Indicates the NavDestination to be pushed.\n     * @param { boolean } [animated] - Whether to support the transition animation.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported. **false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushPath(info: NavPathInfo, animated?: boolean): void;\n    /**\n     * Pushes the navigation destination page specified by **info** onto the navigation stack.\n     * Depending on the launchMode specified in the **options** parameter, different behaviors will be triggered.\n     *\n     * @param { NavPathInfo } info - Indicates the NavDestination to be pushed.\n     * @param { NavigationOptions } [options] - Indicates options of stack operation.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    pushPath(info: NavPathInfo, options?: NavigationOptions): void;\n    /**\n     * Pushes the navigation destination page specified by **info** onto\n     * the navigation stack. This API uses a promise to return the result.\n     *\n     * @param { NavPathInfo } info - Information about the navigation destination page.\n     * @param { boolean } [animated] - Whether to support the transition animation.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.\n     * <br>**false**: The transition animation is not supported.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pushes the navigation destination page specified by **info** onto\n     * the navigation stack. This API uses a promise to return the result.\n     *\n     * @param { NavPathInfo } info - Information about the navigation destination page.\n     * @param { boolean } [animated] - Whether to support the transition animation.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.\n     * <br>**false**: The transition animation is not supported.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    pushDestination(info: NavPathInfo, animated?: boolean): Promise<void>;\n    /**\n     * Pushes the navigation destination page specified by **info** onto the navigation stack.\n     * This API uses a promise to return the result. Depending on the LaunchMode\n     * specified in the **options** parameter, different behaviors will be triggered.\n     *\n     * @param { NavPathInfo } info - Information about the navigation destination page.\n     * @param { NavigationOptions } [options] - Navigation options.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    pushDestination(info: NavPathInfo, options?: NavigationOptions): Promise<void>;\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { unknown } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { unknown } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported. **false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushPathByName(name: string, param: unknown, animated?: boolean): void;\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @param { import('../api/@ohos.base').Callback<PopInfo> } onPop - The callback when next page returns.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported. **false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @param { import('../api/@ohos.base').Callback<PopInfo> } onPop - The callback when next page returns.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported. **false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    pushPathByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback<PopInfo>, animated?: boolean): void;\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    pushDestinationByName(name: string, param: Object, animated?: boolean): Promise<void>;\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @param { import('../api/@ohos.base').Callback<PopInfo> } onPop - The callback when next page returns.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pushes the specified NavDestination into the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be pushed.\n     * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed.\n     * @param { import('../api/@ohos.base').Callback<PopInfo> } onPop - The callback when next page returns.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    pushDestinationByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback<PopInfo>, animated?: boolean): Promise<void>;\n    /**\n     * Replace the current NavDestination with the specific one.The current NavDestination will be destroyed.\n     *\n     * @param { NavPathInfo } info - Indicates the new NavDestination in top of the stack.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Replace the current NavDestination with the specific one.The current NavDestination will be destroyed.\n     *\n     * @param { NavPathInfo } info - Indicates the new NavDestination in top of the stack.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    replacePath(info: NavPathInfo, animated?: boolean): void;\n    /**\n     * Replace the current NavDestination with the specific one.The current NavDestination will be destroyed.\n     *\n     * @param { NavPathInfo } info - Indicates the new NavDestination in top of the stack.\n     * @param { NavigationOptions } [options] - Indicates options of stack operation.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    replacePath(info: NavPathInfo, options?: NavigationOptions): void;\n    /**\n     * Replace the NavDestination into the stack.\n     *\n     * @param { NavPathInfo } info - Indicates the NavDestination to replace in stack.\n     * @param { NavigationOptions } [options] - Indicates options of stack operation.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     *     1. Mandatory parameters are left unspecified.\n     *     2. Incorrect parameters types.\n     *     3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100005 - Builder function not registered.\n     * @throws { BusinessError } 100006 - NavDestination not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise<void>;\n    /**\n     * Replace the current NavDestination with the specific one.The current NavDestination will be destroyed.\n     *\n     * @param { string } name - Indicates name of the new NavDestination in top of stack.\n     * @param { Object } param - Indicates the detailed parameter of the new NavDestination in top of the stack.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.<br>**false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Replace the current NavDestination with the specific one.The current NavDestination will be destroyed.\n     *\n     * @param { string } name - Indicates name of the new NavDestination in top of stack.\n     * @param { Object } param - Indicates the detailed parameter of the new NavDestination in top of the stack.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.<br>**false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    replacePathByName(name: string, param: Object, animated?: boolean): void;\n    /**\n     * Remove the specified NavDestinations by indexes.\n     *\n     * @param { Array<number> } indexes - Indicates the indexes of the NavDestinations to be removed.\n     * @returns { number } Returns the number of removed pages. Invalid indexes will be ignored.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Remove the specified NavDestinations by indexes.\n     *\n     * @param { Array<number> } indexes - Indicates the indexes of the NavDestinations to be removed.\n     * @returns { number } Returns the number of removed pages. Invalid indexes will be ignored.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    removeByIndexes(indexes: Array<number>): number;\n    /**\n     * Removes the navigation destination page specified by **name** from the navigation stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be removed.\n     * @returns { number } Returns the number of removed NavDestinations.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Removes the navigation destination page specified by **name** from the navigation stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be removed.\n     * @returns { number } Returns the number of removed NavDestinations.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    removeByName(name: string): number;\n    /**\n     * Removes the navigation destination page specified by **navDestinationId** from\n     * the navigation stack. **navDestinationId** can be obtained from the onReady callback\n     * of **NavDestination** or from NavDestinationInfo.\n     *\n     * @param { string } navDestinationId - Unique ID of the navigation destination page to remove.\n     * @returns { boolean } Returns true if remove successfully, otherwise returns false.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    removeByNavDestinationId(navDestinationId: string): boolean;\n    /**\n     * Pops the top NavDestination out of the stack.\n     *\n     * @returns { NavPathInfo | undefined } Returns the top NavPathInfo if the stack is not empty, otherwise returns undefined.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Pops the top NavDestination out of the stack.\n     *\n     * @param { boolean } [animated] - Indicates whether the transition is animated. Default value is **true**.\n     * @returns { NavPathInfo | undefined } Returns the top NavPathInfo if the stack is not empty, otherwise returns undefined.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pop(animated?: boolean): NavPathInfo | undefined;\n    /**\n     * Pops the top NavDestination out of the stack. Invokes the **onPop** callback to pass the page processing result.\n     *\n     * @param { Object } result - The result of the NavDestination.\n     * @param { boolean } [animated] - Indicates whether the transition is animated. Default value is **true**.\n     * @returns { NavPathInfo | undefined } Returns the top NavPathInfo if the stack is not empty, otherwise returns undefined.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pops the top NavDestination out of the stack. Invokes the **onPop** callback to pass the page processing result.\n     *\n     * @param { Object } result - The result of the NavDestination.\n     * @param { boolean } [animated] - Indicates whether the transition is animated. Default value is **true**.\n     * @returns { NavPathInfo | undefined } Returns the top NavPathInfo if the stack is not empty, otherwise returns undefined.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    pop(result: Object, animated?: boolean): NavPathInfo | undefined;\n    /**\n     * Pops the specified NavDestination out of the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be popped.\n     * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Pops the specified NavDestination out of the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be popped.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.<br>**false**: The transition animation is not supported.\n     * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    popToName(name: string, animated?: boolean): number;\n    /**\n     * Pops pages until the first navigation destination page.\n     * That matches **name** from the bottom of the navigation stack is at the top of the stack.\n     * This API uses the **onPop** callback to pass in the page processing result.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be popped.\n     * @param { Object } result - The result of the NavDestination.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.<br>**false**: The transition animation is not supported.\n     * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pops pages until the first navigation destination page.\n     * That matches **name** from the bottom of the navigation stack is at the top of the stack.\n     * This API uses the **onPop** callback to pass in the page processing result.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be popped.\n     * @param { Object } result - The result of the NavDestination.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.<br>**false**: The transition animation is not supported.\n     * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    popToName(name: string, result: Object, animated?: boolean): number;\n    /**\n     * Pops the specified NavDestination out of the stack.\n     *\n     * @param { number } index - Indicates the index of the NavDestination to be popped.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Pops the specified NavDestination out of the stack.\n     *\n     * @param { number } index - Indicates the index of the NavDestination to be popped.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.<br>**false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    popToIndex(index: number, animated?: boolean): void;\n    /**\n     * Pops the specified NavDestination out of the stack.\n     *\n     * @param { number } index - Indicates the index of the NavDestination to be popped.\n     * @param { Object } result - The result of the NavDestination.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.<br>**false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    popToIndex(index: number, result: Object, animated?: boolean): void;\n    /**\n     * Moves the first navigation destination page of this name to the top of stack.\n     * That matches **name** from the bottom of the navigation stack to the top of the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be moved to the top.\n     * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Moves the first navigation destination page of this name to the top of stack.\n     * That matches **name** from the bottom of the navigation stack to the top of the stack.\n     *\n     * @param { string } name - Indicates the name of the NavDestination to be moved to the top.\n     * @param { boolean } [animated] - Indicates whether the transition is animated.\n     * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    moveToTop(name: string, animated?: boolean): number;\n    /**\n     * Moves to the top of the navigation stack the navigation destination page specified by **index**.\n     *\n     * @param { number } index - Index of the navigation destination page. The index is zero-based.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Moves to the top of the navigation stack the navigation destination page specified by **index**.\n     *\n     * @param { number } index - Index of the navigation destination page. The index is zero-based.\n     * @param { boolean } [animated] - Whether to support the transition animation.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.\n     * <br>**false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    moveIndexToTop(index: number, animated?: boolean): void;\n    /**\n     * Clears the navigation stack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Clears the navigation stack.\n     *\n     * @param { boolean } [animated] - Whether to support the transition animation.\n     * <br>Default value: **true**.\n     * <br>**true**: The transition animation is supported.\n     * <br>**false**: The transition animation is not supported.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    clear(animated?: boolean): void;\n    /**\n     * Obtains the names of all navigation destination pages in the navigation stack.\n     *\n     * @returns { Array<string> } Returns all the NavDestination name in the stack;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains the names of all navigation destination pages in the navigation stack.\n     *\n     * @returns { Array<string> } Returns all the NavDestination name in the stack;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getAllPathName(): Array<string>;\n    /**\n     * Obtains the parameter information of the navigation destination page specified by **index**.\n     *\n     * @param { number } index - Index of the navigation destination page. The index is zero-based.\n     * @returns { unknown | undefined } Returns the detailed parameter of the NavDestination.\n     * <br>If it exists in the stack, otherwise returns undefined;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains the parameter information of the navigation destination page specified by **index**.\n     *\n     * @param { number } index - Index of the navigation destination page. The index is zero-based.\n     * @returns { unknown | undefined } Returns the detailed parameter of the NavDestination.\n     * <br>If it exists in the stack, otherwise returns undefined;\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getParamByIndex(index: number): unknown | undefined;\n    /**\n     * Obtains the param of the specified NavDestination.\n     *\n     * @param { string } name - Indicates the name of the NavDestination.\n     * @returns { Array<unknown> } Returns the detailed parameter of all the NavDestinations.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains the param of the specified NavDestination.\n     *\n     * @param { string } name - Indicates the name of the NavDestination.\n     * @returns { Array<unknown> } Returns the detailed parameter of all the NavDestinations.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getParamByName(name: string): Array<unknown>;\n    /**\n     * Obtains the indexes of all the navigation destination pages that match **name**.\n     *\n     * @param { string } name - Indicates the name of the NavDestination.\n     * @returns { Array<number> } Returns the index of all the NavDestinations.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains the indexes of all the navigation destination pages that match **name**.\n     *\n     * @param { string } name - Indicates the name of the NavDestination.\n     * @returns { Array<number> } Returns the index of all the NavDestinations.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getIndexByName(name: string): Array<number>;\n    /**\n     * Obtains the parent navigation path stack.\n     * When a **Navigation** component is nested (directly or indirectly) insider another **Navigation** component,\n     * The internal one can obtain the navigation path stack of the external one.\n     *\n     * @returns { NavPathStack | null } Returns the parent of the current stack. If no parent, it returns null.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getParent(): NavPathStack | null;\n    /**\n     * Obtains the stack size.\n     *\n     * @returns { number } Stack size.\n     * <br>Value range: [0, +∞)\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains the stack size.\n     *\n     * @returns { number } Stack size.\n     * <br>Value range: [0, +∞)\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    size(): number;\n    /**\n     * Disables or enables the transition animation in the **Navigation** component.\n     *\n     * @param { boolean } value - Whether to disable the transition animation.\n     * <br>Default value: **false**.\n     * <br>**true**:The transition animation is disabled.\n     * <br>**false**: The transition animation is not disabled.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Disables or enables the transition animation in the **Navigation** component.\n     *\n     * @param { boolean } value - Whether to disable the transition animation.\n     * <br>Default value: **false**.\n     * <br>**true**:The transition animation is disabled.\n     * <br>**false**: The transition animation is not disabled.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    disableAnimation(value: boolean): void;\n    /**\n     * Sets the interception callback for navigation page redirection.\n     *\n     * @param { NavigationInterception } interception - Object to be intercepted during navigation redirection.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    setInterception(interception: NavigationInterception): void;\n    /**\n     * Get the NavPathInfo array.\n     *\n     * @returns { Array<NavPathInfo> } The NavPathInfo array.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    getPathStack(): Array<NavPathInfo>;\n    /**\n     * Set the NavPathInfo array.\n     *\n     * @param { Array<NavPathInfo> } pathStack - The NavPathInfo array.\n     * @param { boolean } [animated] - Indicate whether the operation has animation.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    setPathStack(pathStack: Array<NavPathInfo>, animated?: boolean): void;\n}\n/**\n * Defines the name of the navigation home page.\n *\n * @typedef { 'navBar' } NavBar\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare type NavBar = 'navBar';\n/**\n * navigation interception callback using in willShow and didShow\n *\n * @typedef { function } InterceptionShowCallback\n * @param { NavDestinationContext | NavBar } from - Indicates the starting NavDestination or NavBar.\n * @param { NavDestinationContext | NavBar } to - Indicates the destination NavDestination or NavBar.\n * @param { NavigationOperation } operation - Indicates the type of stack operation.\n * @param { boolean } isAnimated - Indicates whether the transition is animated.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare type InterceptionShowCallback = (from: NavDestinationContext | NavBar, to: NavDestinationContext | NavBar, operation: NavigationOperation, isAnimated: boolean) => void;\n/**\n * navigation interception callback using in navigation mode change\n *\n * @typedef { function } InterceptionModeCallback\n * @param { NavigationMode } mode - Indicates the mode of Navigation.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare type InterceptionModeCallback = (mode: NavigationMode) => void;\n/**\n * Provide navigation transition interception\n *\n * @interface NavigationInterception\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface NavigationInterception {\n    /**\n     * Interception before page redirection, allowing for stack operations.\n     * The setting takes effect in the current redirection.\n     *\n     * @type { ?InterceptionShowCallback }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    willShow?: InterceptionShowCallback;\n    /**\n     * Called after destination transition.For details, see { @Link InterceptionShowCallback}.\n     *\n     * @type { ?InterceptionShowCallback }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    didShow?: InterceptionShowCallback;\n    /**\n     * Called when navigation mode changed.For details, see { @Link InterceptionModeCallback}.\n     *\n     * @type { ?InterceptionModeCallback }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    modeChange?: InterceptionModeCallback;\n}\n/**\n * Provide navigator view interface\n *\n * @interface NavigationInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 8\n */\n/**\n * Provide navigator view interface\n *\n * @interface NavigationInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Provide navigator view interface\n *\n * @interface NavigationInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ninterface NavigationInterface {\n    /**\n     * Called when the navigator view interface is used.\n     *\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when the navigator view interface is used.\n     *\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the navigator view interface is used.\n     *\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    (): NavigationAttribute;\n    /**\n     * Called when the navigator view interface is used, with route table provided.\n     *\n     * @param { NavPathStack } pathInfos - The stack of the route table.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the navigator view interface is used, with route table provided.\n     *\n     * @param { NavPathStack } pathInfos - The stack of the route table.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    (pathInfos: NavPathStack): NavigationAttribute;\n}\n/**\n * Defines the status of toolbar item and it is used in the ToolbarItem interface.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 10\n */\n/**\n * Defines the status of toolbar item and it is used in the ToolbarItem interface.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare enum ToolbarItemStatus {\n    /**\n     * Normal state. In this state, the toolbar item takes on the default style and\n     * can switch to another state-specific style by responding to the hover, press,\n     * and focus events.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Normal state. In this state, the toolbar item takes on the default style and\n     * can switch to another state-specific style by responding to the hover, press,\n     * and focus events.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    NORMAL = 0,\n    /**\n     * Disable state of toolbar item.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Disable state of toolbar item.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    DISABLED = 1,\n    /**\n     * Active state. In this state, the toolbar item can update its icon\n     * to the one specified by **activeIcon** by responding to a click event.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Active state. In this state, the toolbar item can update its icon\n     * to the one specified by **activeIcon** by responding to a click event.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    ACTIVE = 2\n}\n/**\n * Defines the operation of current navigation transition.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 11\n */\n/**\n * Defines the operation of current navigation transition.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare enum NavigationOperation {\n    /**\n     * Push operation of navigation transition.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Push operation of navigation transition.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    PUSH = 1,\n    /**\n     * Pop operation of navigation transition.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pop operation of navigation transition.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    POP = 2,\n    /**\n     * The transition is page replacement.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * The transition is page replacement.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    REPLACE = 3\n}\n/**\n * Defines configurable parameters for toolbar item.\n *\n * @interface ToolbarItem\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 10\n */\n/**\n * Defines configurable parameters for toolbar item.\n *\n * @interface ToolbarItem\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 11\n */\ndeclare interface ToolbarItem {\n    /**\n     * The value of navigation toolbar item.\n     *\n     * @type { ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The value of navigation toolbar item.\n     *\n     * @type { ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    value: ResourceStr;\n    /**\n     * The icon of navigation toolbar item.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The icon of navigation toolbar item.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    icon?: ResourceStr;\n    /**\n     * The symbol of navigation toolbar item.\n     *\n     * @type { ?SymbolGlyphModifier }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    symbolIcon?: SymbolGlyphModifier;\n    /**\n     * Trigger by navigation toolbar item click.\n     *\n     * @type { ?function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Trigger by navigation toolbar item click.\n     *\n     * @type { ?function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    action?: () => void;\n    /**\n     * The state of navigation toolbar item.\n     *\n     * @type { ?ToolbarItemStatus }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The state of navigation toolbar item.\n     *\n     * @type { ?ToolbarItemStatus }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    status?: ToolbarItemStatus;\n    /**\n     * The icon of navigation toolbar item in active state.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The icon of navigation toolbar item in active state.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    activeIcon?: ResourceStr;\n    /**\n     * The symbol of navigation toolbar item in active state.\n     *\n     * @type { ?SymbolGlyphModifier }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    activeSymbolIcon?: SymbolGlyphModifier;\n}\n/**\n * Indicates the options of Navigation's Titlebar.\n *\n * @interface NavigationTitleOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface NavigationTitleOptions {\n    /**\n     * Background color of the title bar. If this parameter is not set, the default color is used.\n     *\n     * @type { ?ResourceColor }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    backgroundColor?: ResourceColor;\n    /**\n     * Background blur style of the title bar. If this parameter is not set, the background\n     * blur effect is disabled.\n     *\n     * @type { ?BlurStyle }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    backgroundBlurStyle?: BlurStyle;\n    /**\n     * Background blur style options.\n     *\n     * @type { ?BackgroundBlurStyleOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;\n    /**\n     * Background effect options.\n     *\n     * @type { ?BackgroundEffectOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backgroundEffect?: BackgroundEffectOptions;\n    /**\n     * Layout style of the title bar.\n     * <br>Default value: **BarStyle.STANDARD**.\n     *\n     * @type { ?BarStyle }\n     * @default BarStyle.STANDARD\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    barStyle?: BarStyle;\n    /**\n     * Set title bar start padding.\n     *\n     * @type { ?LengthMetrics }\n     * @default LengthMetrics.resource($r('sys.float.margin_left'))\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    paddingStart?: LengthMetrics;\n    /**\n     * Set title bar end padding.\n     *\n     * @type { ?LengthMetrics }\n     * @default LengthMetrics.resource($r('sys.float.margin_right'))\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    paddingEnd?: LengthMetrics;\n    /**\n     * Text modifier for main title.\n     *\n     * @type { ?TextModifier }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    mainTitleModifier?: TextModifier;\n    /**\n     * Text modifier for sub title.\n     *\n     * @type { ?TextModifier }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    subTitleModifier?: TextModifier;\n    /**\n     * Defines whether to respond to the hover mode.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    enableHoverMode?: boolean;\n}\n/**\n * Declare BarStyle enum.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare enum BarStyle {\n    /**\n     * In this mode, the title bar or toolbar is laid out above the content area.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    STANDARD = 0,\n    /**\n     * In this mode, the title bar or toolbar is overlaid on top of the content area.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    STACK = 1,\n    /**\n     * SafeAreaPadding style means the bar height will be taken as content's safeAreaPadding.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    SAFE_AREA_PADDING = 2\n}\n/**\n * Indicates the options of Navigation's Toolbar.\n *\n * @interface NavigationToolbarOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface NavigationToolbarOptions {\n    /**\n     * Background color of the toolbar. If this parameter is not set, the default color is used.\n     *\n     * @type { ?ResourceColor }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    backgroundColor?: ResourceColor;\n    /**\n     * Background blur style of the toolbar. If this parameter is not set, the background blur\n     * effect is disabled.\n     *\n     * @type { ?BlurStyle }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    backgroundBlurStyle?: BlurStyle;\n    /**\n     * Background blur style options.\n     *\n     * @type { ?BackgroundBlurStyleOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;\n    /**\n     * Background effect options.\n     *\n     * @type { ?BackgroundEffectOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backgroundEffect?: BackgroundEffectOptions;\n    /**\n     * More button options.\n     *\n     * @type { ?MoreButtonOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    moreButtonOptions?: MoreButtonOptions;\n    /**\n     * Set tool bar style.\n     *\n     * @type { ?BarStyle }\n     * @default BarStyle.STANDARD\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    barStyle?: BarStyle;\n    /**\n     * Set whether toolbar displays text.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    hideItemValue?: boolean;\n}\n/**\n * Indicates the options of Navigation's Menu.\n *\n * @interface NavigationMenuOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 19\n */\ndeclare interface NavigationMenuOptions {\n    /**\n     * More button options.\n     *\n     * @type { ?MoreButtonOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    moreButtonOptions?: MoreButtonOptions;\n}\n/**\n * Indicates the options of Navigation's Menu.\n *\n * @interface MoreButtonOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 19\n */\ndeclare interface MoreButtonOptions {\n    /**\n     * Background blur style.\n     *\n     * @type { ?BlurStyle }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backgroundBlurStyle?: BlurStyle;\n    /**\n     * Background blur style options.\n     *\n     * @type { ?BackgroundBlurStyleOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;\n    /**\n     * Background effect options.\n     *\n     * @type { ?BackgroundEffectOptions }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backgroundEffect?: BackgroundEffectOptions;\n}\n/**\n * Declare Navigation view properties.\n *\n * @extends CommonMethod<NavigationAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 8\n */\n/**\n * Declare Navigation view properties.\n *\n * @extends CommonMethod<NavigationAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Declare Navigation view properties.\n *\n * @extends CommonMethod<NavigationAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class NavigationAttribute extends CommonMethod<NavigationAttribute> {\n    /**\n     * Sets the width of the navigation bar.\n     * This attribute takes effect only when the **Navigation** component is in split mode.\n     *\n     * @param { Length } value - Width of the navigation bar.\n     * <br>Default value: **240**. Unit: vp.\n     * <br>**undefined**: No action is taken, and the navigation bar width remains consistent with the default value.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Sets the width of the navigation bar.\n     * This attribute takes effect only when the **Navigation** component is in split mode.\n     *\n     * @param { Length } value - Width of the navigation bar.\n     * <br>Default value: **240**. Unit: vp.\n     * <br>**undefined**: No action is taken, and the navigation bar width remains consistent with the default value.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the width of the navigation bar.\n     * This attribute takes effect only when the **Navigation** component is in split mode.\n     *\n     * @param { Length } value - Width of the navigation bar.\n     * <br>Default value: **240**. Unit: vp.\n     * <br>**undefined**: No action is taken, and the navigation bar width remains consistent with the default value.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    navBarWidth(value: Length): NavigationAttribute;\n    /**\n     * Sets the position of the navigation bar. This attribute takes effect\n     * only when the **Navigation** component is split.\n     *\n     * @param { NavBarPosition } value - Position of the navigation bar.\n     * <br>Default value: **NavBarPosition.Start**.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Sets the position of the navigation bar. This attribute takes effect\n     * only when the **Navigation** component is split.\n     *\n     * @param { NavBarPosition } value - Position of the navigation bar.\n     * <br>Default value: **NavBarPosition.Start**.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the position of the navigation bar. This attribute takes effect\n     * only when the **Navigation** component is split.\n     *\n     * @param { NavBarPosition } value - Position of the navigation bar.\n     * <br>Default value: **NavBarPosition.Start**.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    navBarPosition(value: NavBarPosition): NavigationAttribute;\n    /**\n     * Sets the minimum and maximum widths of the navigation bar (effective in split mode).\n     *\n     * @param { [Dimension, Dimension] } value - Minimum and maximum widths of the navigation bar.\n     * <br>Default value: 240 for the minimum value; 40% of the component width (not greater than 432)\n     * for the maximum value; if either of the widths is not set, the default value is used for that width.\n     * <br>Unit: vp.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the minimum and maximum widths of the navigation bar (effective in split mode).\n     *\n     * @param { [Dimension, Dimension] } value - Minimum and maximum widths of the navigation bar.\n     * <br>Default value: 240 for the minimum value; 40% of the component width (not greater than 432)\n     * for the maximum value; if either of the widths is not set, the default value is used for that width.\n     * <br>Unit: vp.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    navBarWidthRange(value: [\n        Dimension,\n        Dimension\n    ]): NavigationAttribute;\n    /**\n     * Sets the minimum width of the navigation bar content area (effective in split mode).\n     *\n     * @param { Dimension } value - Minimum width of the navigation bar content area.\n     * <br>Default value: **360**.\n     * <br>Unit: vp.\n     * <br>**undefined**: No action is taken, and the minimum width of the navigation bar remains\n     * consistent with the default value.<br>Breakpoint calculation in Auto mode: default 600 vp =\n     * minNavBarWidth (240 vp) + minContentWidth (360 vp).\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the minimum width of the navigation bar content area (effective in split mode).\n     *\n     * @param { Dimension } value - Minimum width of the navigation bar content area.\n     * <br>Default value: **360**.\n     * <br>Unit: vp.\n     * <br>**undefined**: No action is taken, and the minimum width of the navigation bar remains\n     * consistent with the default value.<br>Breakpoint calculation in Auto mode: default 600 vp =\n     * minNavBarWidth (240 vp) + minContentWidth (360 vp).\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    minContentWidth(value: Dimension): NavigationAttribute;\n    /**\n     * Sets the mode of navigation.\n     *\n     * @param { NavigationMode } value - Display mode of the navigation.\n     * <br>Default value: **NavigationMode.Auto**.\n     * <br>At the default settings, the navigation adapts to stack or split mode based on the component width.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Sets the mode of navigation.\n     *\n     * @param { NavigationMode } value - Display mode of the navigation.\n     * <br>Default value: **NavigationMode.Auto**.\n     * <br>At the default settings, the navigation adapts to stack or split mode based on the component width.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the mode of navigation.\n     *\n     * @param { NavigationMode } value - Display mode of the navigation.\n     * <br>Default value: **NavigationMode.Auto**.\n     * <br>At the default settings, the navigation adapts to stack or split mode based on the component width.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    mode(value: NavigationMode): NavigationAttribute;\n    /**\n     * Sets the icon of the back button in the title bar.\n     *\n     * @param { string | PixelMap | Resource } value - Icon of the back button in the title bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Sets the icon of the back button in the title bar.\n     *\n     * @param { string | PixelMap | Resource } value - Icon of the back button in the title bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the icon of the back button in the title bar.\n     *\n     * @param { string | PixelMap | Resource } value - Icon of the back button in the title bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Sets the icon of the back button in the title bar.\n     *\n     * @param { string | PixelMap | Resource | SymbolGlyphModifier } value - Icon of the back button in the title bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): NavigationAttribute;\n    /**\n     * Sets the back button icon and accessibility broadcast content.\n     *\n     * @param { string | PixelMap | Resource | SymbolGlyphModifier } icon - Indicates icon of back button\n     * @param { ResourceStr } accessibilityText - Indicates content needs to broadcast.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): NavigationAttribute;\n    /**\n     * Hide the NavBar, which includes title bar, the child of Navigation and tool bar. Supported in split mode.\n     *\n     * @param { boolean } value - Whether to hide the navigation bar.\n     * <br>Default value: **false**. **true**: Hide the navigation bar. **false**: Show the navigation bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Hide the NavBar, which includes title bar, the child of Navigation and tool bar. Supported in split mode.\n     *\n     * @param { boolean } value - Whether to hide the navigation bar.\n     * <br>Default value: **false**. **true**: Hide the navigation bar. **false**: Show the navigation bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Hide the NavBar, which includes title bar, the child of Navigation and tool bar. Supported in all mode.\n     * It will show top page in the NavPathStack directly or empty if there is no page in the NavPathStack.\n     *\n     * @param { boolean } value - Whether to hide the navigation bar.\n     * <br>Default value: **false**. **true**: Hide the navigation bar. **false**: Show the navigation bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    hideNavBar(value: boolean): NavigationAttribute;\n    /**\n     * Navigation title\n     *\n     * @param { string | CustomBuilder } value\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Navigation title\n     *\n     * @param { string | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle } value - Navigation title.\n     * <br>When the NavigationCustomTitle type is used to set the height, titleMode does not take effect.\n     * <br>When the title string is too long:\n     * <br>If no subtitle is set, the string is scaled down, wrapped in two lines, and then clipped.\n     * <br>If a subtitle is set, the subtitle is scaled down and then clipped.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Navigation title\n     *\n     * @param { ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle } value - Navigation title.\n     * <br>When the NavigationCustomTitle type is used to set the height, titleMode does not take effect.\n     * <br>When the title string is too long:\n     * <br>If no subtitle is set, the string is scaled down, wrapped in two lines, and then clipped.\n     * <br>If a subtitle is set, the subtitle is scaled down and then clipped.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Navigation title\n     *\n     * @param { ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle } value - Navigation title.\n     * <br>When the NavigationCustomTitle type is used to set the height, titleMode does not take effect.\n     * <br>When the title string is too long:\n     * <br>If no subtitle is set, the string is scaled down, wrapped in two lines, and then clipped.\n     * <br>If a subtitle is set, the subtitle is scaled down and then clipped.\n     * @param { NavigationTitleOptions } [options] - Indicates the options of titlebar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): NavigationAttribute;\n    /**\n     * Sets the subtitle of the navigation.\n     *\n     * @param { string } value - Content of subtitle.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 9\n     * @useinstead title\n     */\n    subTitle(value: string): NavigationAttribute;\n    /**\n     * Hide navigation title bar\n     *\n     * @param { boolean } value - Whether to hide the title bar.\n     * <br>Default value is **false**. **true**: Hide the title bar. **false**: Show the title bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Hide navigation title bar\n     *\n     * @param { boolean } value - Whether to hide the title bar.\n     * <br>Default value is **false**. **true**: Hide the title bar. **false**: Show the title bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Hide navigation title bar\n     *\n     * @param { boolean } value - Whether to hide the title bar.\n     * <br>Default value is **false**. **true**: Hide the title bar. **false**: Show the title bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    hideTitleBar(value: boolean): NavigationAttribute;\n    /**\n     * Sets whether to hide the title bar and whether to animate the visibility change.\n     *\n     * @param { boolean } hide - Whether to hide the title bar.\n     * <br>Default value is **false**. **true**: Hide the title bar. **false**: Show the title bar.\n     * @param { boolean } animated - Whether to animate the visibility change.\n     * <br>Default value is **false**.\n     * <br>**true**: Animate the visibility change. **false**: Do not animate the visibility change.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    hideTitleBar(hide: boolean, animated: boolean): NavigationAttribute;\n    /**\n     * Sets whether to hide the back button in the title bar.\n     * The back button is available only when titleMode is set to **NavigationTitleMode.Mini**.\n     *\n     * @param { boolean } value - Whether to hide the back button in the title bar.\n     * <br>Default value: **false**. **true**: Hide the back button. **false**: Show the back button.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Sets whether to hide the back button in the title bar.\n     * The back button is available only when titleMode is set to **NavigationTitleMode.Mini**.\n     *\n     * @param { boolean } value - Whether to hide the back button in the title bar.\n     * <br>Default value: **false**. **true**: Hide the back button. **false**: Show the back button.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets whether to hide the back button in the title bar.\n     * The back button is available only when titleMode is set to **NavigationTitleMode.Mini**.\n     *\n     * @param { boolean } value - Whether to hide the back button in the title bar.\n     * <br>Default value: **false**. **true**: Hide the back button. **false**: Show the back button.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    hideBackButton(value: boolean): NavigationAttribute;\n    /**\n     * Sets the display mode of the navigation title mode.\n     *\n     * @param { NavigationTitleMode } value - Display mode of the page title bar.\n     * <br>Default value: **NavigationTitleMode.Free**\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Sets the display mode of the navigation title mode.\n     *\n     * @param { NavigationTitleMode } value - Display mode of the page title bar.\n     * <br>Default value: **NavigationTitleMode.Free**\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the display mode of the navigation title mode.\n     *\n     * @param { NavigationTitleMode } value - Display mode of the page title bar.\n     * <br>Default value: **NavigationTitleMode.Free**\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    titleMode(value: NavigationTitleMode): NavigationAttribute;\n    /**\n     * Sets the menu items in the upper right corner of the navigation.\n     * If this attribute is not set, no menu item is displayed. When the value type is NavigationMenuItem,\n     * The menu shows a maximum of three icons in portrait mode and a maximum of five icons in landscape mode,\n     * With excess icons (if any) placed under the automatically generated **More** icon.\n     *\n     * @param { Array<NavigationMenuItem> | CustomBuilder } value -\n     * <br>Menu items in the upper right corner of the navigation.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Sets the menu items in the upper right corner of the navigation.\n     * If this attribute is not set, no menu item is displayed. When the value type is NavigationMenuItem,\n     * The menu shows a maximum of three icons in portrait mode and a maximum of five icons in landscape mode,\n     * With excess icons (if any) placed under the automatically generated **More** icon.\n     *\n     * @param { Array<NavigationMenuItem> | CustomBuilder } value -\n     * <br>Menu items in the upper right corner of the navigation.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the menu items in the upper right corner of the navigation.\n     * If this attribute is not set, no menu item is displayed. When the value type is NavigationMenuItem,\n     * The menu shows a maximum of three icons in portrait mode and a maximum of five icons in landscape mode,\n     * With excess icons (if any) placed under the automatically generated **More** icon.\n     *\n     * @param { Array<NavigationMenuItem> | CustomBuilder } value -\n     * <br>Menu items in the upper right corner of the navigation.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    menus(value: Array<NavigationMenuItem> | CustomBuilder): NavigationAttribute;\n    /**\n     * Navigation title bar's menus\n     *\n     * @param { Array<NavigationMenuItem> | CustomBuilder } items\n     * @param { NavigationMenuOptions } [options] - Indicates the options of menu.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    menus(items: Array<NavigationMenuItem> | CustomBuilder, options?: NavigationMenuOptions): NavigationAttribute;\n    /**\n     * Sets the content of the toolbar. If this attribute is not set, no toolbar is displayed.\n     * Toolbar items are evenly distributed on the bottom toolbar, with text and icons evenly\n     * spaced in each content area. If any item contains overlong text and there are fewer than\n     * five items, the toolbar will reduce the text size progressively, wrap the text over two\n     * lines if necessary, and then clip the text to fit.\n     *\n     * @param { object | CustomBuilder } value - Content of the toolbar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     * @useinstead navigation/NavigationAttribute#toolbarConfiguration\n     */\n    toolBar(value: object | CustomBuilder): NavigationAttribute;\n    /**\n      * Sets the content of the toolbar. If this attribute is not set, no toolbar is displayed.\n      *\n      * @param { Array<ToolbarItem> | CustomBuilder } value - Toolbar configuration parameters.\n      * @returns { NavigationAttribute }\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @crossplatform\n      * @since 10\n      */\n    /**\n      * Sets the content of the toolbar. If this attribute is not set, no toolbar is displayed.\n      *\n      * @param { Array<ToolbarItem> | CustomBuilder } value - Toolbar configuration parameters.\n      * @param { NavigationToolbarOptions } [options] - Indicates the options of toolbar.\n      * @returns { NavigationAttribute }\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @crossplatform\n      * @atomicservice\n      * @since 11\n      */\n    toolbarConfiguration(value: Array<ToolbarItem> | CustomBuilder, options?: NavigationToolbarOptions): NavigationAttribute;\n    /**\n     * Hide tool bar\n     *\n     * @param { boolean } value - Whether to hide the toolbar.\n     * <br>Default value: **false**. **true**: Hide the toolbar. **false**: Show the toolbar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Hide tool bar\n     *\n     * @param { boolean } value - Whether to hide the toolbar.\n     * <br>Default value: **false**. **true**: Hide the toolbar. **false**: Show the toolbar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Hide tool bar\n     *\n     * @param { boolean } value - Whether to hide the toolbar.\n     * <br>Default value: **false**. **true**: Hide the toolbar. **false**: Show the toolbar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    hideToolBar(value: boolean): NavigationAttribute;\n    /**\n     * Sets whether to hide the toolbar and whether to animate the visibility change.\n     *\n     * @param { boolean } hide - Whether to hide the toolbar.\n     * <br>Default value: **false**. **true**: Hide the toolbar. **false**: Show the toolbar.\n     * @param { boolean } animated - Whether to animate the visibility change.\n     * <br>Default value: **false**.\n     * <br>**true**: Animate the visibility change. **false**: Do not animate the visibility change.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    hideToolBar(hide: boolean, animated: boolean): NavigationAttribute;\n    /**\n     * Enable tool bar adaptation\n     *\n     * @param { Optional<boolean> } enable - Enable or disable tool bar adaptation.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    enableToolBarAdaptation(enable: Optional<boolean>): NavigationAttribute;\n    /**\n     * Triggered when titleMode is set to **NavigationTitleMode.Free**\n     * and the title bar mode changes as content scrolls.\n     *\n     * @param { (titleMode: NavigationTitleMode) => void } callback\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Triggered when titleMode is set to **NavigationTitleMode.Free**\n     * and the title bar mode changes as content scrolls.\n     *\n     * @param { function } callback\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Triggered when titleMode is set to **NavigationTitleMode.Free**\n     * and the title bar mode changes as content scrolls.\n     *\n     * @param { function } callback\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onTitleModeChange(callback: (titleMode: NavigationTitleMode) => void): NavigationAttribute;\n    /**\n     * Trigger callback when the visibility of navigation bar change.\n     *\n     * @param { (isVisible: boolean) => void } callback - Whether the navigation bar is visible.\n     * <br>The value **true** means that the navigation bar is visible, and **false** means the opposite.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Trigger callback when the visibility of navigation bar change.\n     *\n     * @param { function } callback - Whether the navigation bar is visible.\n     * <br>The value **true** means that the navigation bar is visible, and **false** means the opposite.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Trigger callback when the visibility of navigation bar change.\n     *\n     * @param { function } callback - Whether the navigation bar is visible.\n     * <br>The value **true** means that the navigation bar is visible, and **false** means the opposite.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onNavBarStateChange(callback: (isVisible: boolean) => void): NavigationAttribute;\n    /**\n     * Triggered when the **Navigation** component is displayed for the first time or\n     * its display mode switches between Stack and Split.\n     *\n     * @param { function } callback\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onNavigationModeChange(callback: (mode: NavigationMode) => void): NavigationAttribute;\n    /**\n     * Set builder for user-defined NavDestination component.\n     *\n     * @param { function } builder - The builder function of NavDestination component.\n     * <br>**name**: name of the navigation destination page.\n     * <br>**param**: detailed parameters of the navigation destination page.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Set builder for user-defined NavDestination component.\n     *\n     * @param { function } builder - The builder function of NavDestination component.\n     * <br>**name**: name of the navigation destination page.\n     * <br>**param**: detailed parameters of the navigation destination page.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    navDestination(builder: (name: string, param: unknown) => void): NavigationAttribute;\n    /**\n     * Set custom navigation content transition animation.\n     *\n     * @param { function } delegate - Custom transition delegate.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Set custom navigation content transition animation.\n     *\n     * @param { function } delegate - Custom transition delegate.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    customNavContentTransition(delegate: (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined): NavigationAttribute;\n    /**\n     * Ignores the layout safe area by allowing the component to extend into the non-safe areas of the screen.\n     *\n     * @param { Array<LayoutSafeAreaType> } [types] - Types of non-safe areas to extend into.\n     * <br>Default value:<br>[LayoutSafeAreaType.SYSTEM].\n     * @param { Array<LayoutSafeAreaEdge> } [edges] - Edges for expanding the safe area.\n     * <br> Default value:<br>[LayoutSafeAreaEdge.TOP, LayoutSafeAreaEdge.BOTTOM].\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    ignoreLayoutSafeArea(types?: Array<LayoutSafeAreaType>, edges?: Array<LayoutSafeAreaEdge>): NavigationAttribute;\n    /**\n     * Sets the style of the system status bar when the navbar of the **Navigation** component is displayed.\n     *\n     * @param { Optional<SystemBarStyle> } style - Style of the system status bar.\n     * @returns { NavigationAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    systemBarStyle(style: Optional<SystemBarStyle>): NavigationAttribute;\n    /**\n     * Set the Navigation can be restored after the application is terminated.\n     * To enable this attribute, a navigation id must be set.\n     *\n     * @param { boolean } recoverable - navigation can be recovered.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 14\n     */\n    recoverable(recoverable: Optional<boolean>): NavigationAttribute;\n    /**\n     * Enable dragbar\n     *\n     * @param { Optional<boolean> } isEnabled - enable dragbar or disable dragbar.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    enableDragBar(isEnabled: Optional<boolean>): NavigationAttribute;\n    /**\n     * whether to enable modeChangeAnimation\n     *\n     * @param { Optional<boolean> } isEnabled - enableModeChangeAnimation.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    enableModeChangeAnimation(isEnabled: Optional<boolean>): NavigationAttribute;\n    /**\n     * Set placeholder in split mode.\n     *\n     * @param { ComponentContent } placeholder - Set placeholder in split mode.\n     * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    splitPlaceholder(placeholder: ComponentContent): NavigationAttribute;\n}\n/**\n* Navigation transition animation protocol.\n*\n* @interface NavigationAnimatedTransition\n* @syscap SystemCapability.ArkUI.ArkUI.Full\n* @crossplatform\n* @since 11\n*/\n/**\n* Navigation transition animation protocol.\n*\n* @interface NavigationAnimatedTransition\n* @syscap SystemCapability.ArkUI.ArkUI.Full\n* @crossplatform\n* @atomicservice\n* @since 12\n*/\ndeclare interface NavigationAnimatedTransition {\n    /**\n     * This method is called after the transition ends to notify whether the transition was successful.\n     *\n     * @type { ?function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * This method is called after the transition ends to notify whether the transition was successful.\n     *\n     * @type { ?function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onTransitionEnd?: (success: boolean) => void;\n    /**\n     * Define the limit duration of the transition animation.\n     *\n     * @type { ?number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Define the limit duration of the transition animation.\n     *\n     * @type { ?number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    timeout?: number;\n    /**\n     * Indicates whether it is an interactive transition.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    isInteractive?: boolean;\n    /**\n     * Configure the animations associated with custom transition.\n     *\n     * @type { function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Configure the animations associated with custom transition.\n     *\n     * @type { function }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    transition: (transitionProxy: NavigationTransitionProxy) => void;\n}\n/**\n * Navigation transition proxy.\n *\n * @interface NavigationTransitionProxy\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 11\n */\n/**\n * Navigation transition proxy.\n *\n * @interface NavigationTransitionProxy\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface NavigationTransitionProxy {\n    /**\n     * From navigation content info.\n     *\n     * @type { NavContentInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * From navigation content info.\n     *\n     * @type { NavContentInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    from: NavContentInfo;\n    /**\n     * To navigation content info.\n     *\n     * @type { NavContentInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * To navigation content info.\n     *\n     * @type { NavContentInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    to: NavContentInfo;\n    /**\n     * Indicates whether it is an interactive transition.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    isInteractive?: boolean;\n    /**\n     * Notification system transition animation completed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Notification system transition animation completed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    finishTransition(): void;\n    /**\n     * Cancels this interactive transition animation, restoring the navigation\n     * stack to its state before page redirection. (Non-interactive transition\n     * animations cannot be canceled.)\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    cancelTransition?(): void;\n    /**\n     * Updates the progress of this interactive transition animation. (Non-interactive\n     * animations do not support setting the animation progress).\n     *\n     * @param { number } progress - The progress of transition animation.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    updateTransition?(progress: number): void;\n}\n/**\n * Navigation content info.\n *\n * @interface NavContentInfo\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 11\n */\n/**\n * Navigation content info.\n *\n * @interface NavContentInfo\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface NavContentInfo {\n    /**\n     * Navigation content name.\n     *\n     * @type { ?string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Navigation content name.\n     *\n     * @type { ?string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    name?: string;\n    /**\n     * Navigation content index.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Navigation content index.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    index: number;\n    /**\n     * Navigation content mode.\n     *\n     * @type { ?NavDestinationMode }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Navigation content mode.\n     *\n     * @type { ?NavDestinationMode }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    mode?: NavDestinationMode;\n    /**\n     * Navigation content param.\n     *\n     * @type { ?Object }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    param?: Object;\n    /**\n     * The unique id of NavDestination.\n     *\n     * @type { ?string }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    navDestinationId?: string;\n}\n/**\n * Defines Navigation Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 8\n */\n/**\n * Defines Navigation Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines Navigation Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare const Navigation: NavigationInterface;\n/**\n * Defines Navigation Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 8\n */\n/**\n * Defines Navigation Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines Navigation Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare const NavigationInstance: NavigationAttribute;\n",
}
export default FILE;